package com.iraeta.entity.main.vo;

import com.iraeta.entity.main.TreeNode;
import com.iraeta.entity.main.PermissionType;
import java.util.ArrayList;

public class SysPermission {
    public static ArrayList<TreeNode> getPermissionTreeNode(){
        TreeNode srmData_Node = new TreeNode(String.valueOf(PermissionType.srmData), "消息数据");
        TreeNode srmData_list_Node = new TreeNode(String.valueOf(PermissionType.srmData_list), "SRM消息");
        TreeNode srmData_error_Node = new TreeNode(String.valueOf(PermissionType.srmData_error), "处理失败");
        srmData_Node.addNode(srmData_list_Node);
        srmData_Node.addNode(srmData_error_Node);

        ArrayList<TreeNode> res = new ArrayList<TreeNode>();
        res.add(srmData_Node);
        return res;
    }
}
